home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
061-070
/
amok65
/
makecpicscreen
/
cpicscreen.def
< prev
next >
Wrap
Text File
|
1993-11-04
|
2KB
|
51 lines
(* --------------------------------------------------------------------------
:Program. CPicScreen.mod
:Contents. Procedure to generate Screen from Inline- Datas
:Author. Steffen Köhler
:Address. Breite Str. 1 2880 Brake, Germany
:Phone. 04401/70164
:Copyright. This Routine based on the Shareware-Routines by
Thomas Zipproth
Dr. Jochner Weg 10, 8948 Mindelheim, Germany
08261/4838
(see the CPic.doc on AMOK#42 for more Informations)
:Language. Modula2 + Assembler
:Translator. M2-Amiga A+L V3.32d
:History. V1.0 29-Dec-90
-------------------------------------------------------------------------- *)
DEFINITION MODULE CPicScreen;
FROM Graphics IMPORT ViewPortPtr,ViewModeSet,BitMapPtr;
FROM Intuition IMPORT ScreenPtr;
FROM SYSTEM IMPORT ADDRESS;
TYPE CPicInfo = RECORD
Ident : LONGINT;
Width : INTEGER;
Height : INTEGER;
PicX0 : INTEGER;
PicY0 : INTEGER;
PicX : INTEGER;
PicY : INTEGER;
Depth : INTEGER;
Planes : ARRAY[0..5] OF LONGINT;
Length : ARRAY[0..5] OF LONGINT;
Mode : ViewModeSet;
Colors : ARRAY[0..31] OF INTEGER;
END;
VAR ci : CPicInfo;
Cle : INTEGER; (* CPicLoadError *)
PROCEDURE MakeCPicScreen( CpInlinePtr: ADDRESS; TitlePtr:ADDRESS;
VAR sp : ScreenPtr;
x0,y0 : INTEGER; Front : BOOLEAN) : BOOLEAN;
PROCEDURE Refresh(CpInlinePtr: ADDRESS; VAR sp: ScreenPtr;
VAR ci : CPicInfo) : BOOLEAN;
END CPicScreen.